#include <stdio.h>
int main()
{
    int day = 0;
    scanf("%d", &day);

    switch (day)//函数记得加大括号
    {
        case 1:
        case 2:
        case 3:
        case 4:
        case 5:
            printf("weekday");
            break;
        case 6:
        case 7:
            printf("weekend");
            break;
        default:
            printf("输入错误");
            break;
        //defaultY与switch连用像else一样
    }
    return 0;
}